package com.zxk.crawler;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(scanBasePackages = "com.zxk",exclude = {DataSourceAutoConfiguration.class,})
@EnableJpaRepositories("com.zxk.api")
@EntityScan("com.zxk.core")
@MapperScan("com.zxk.api.dao")
@EnableScheduling
@EnableFeignClients
public class BlogCrawlerApplication {
    public static void main(String[] args) {
        SpringApplication.run(BlogCrawlerApplication.class,args);
    }
}
